package top.rainf.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.rainf.mapper.UserBaseInfoMapper;

/**
 * @author 星环
 * @date 2023/5/5 18:06:16
 * @description
 */
@RestController
@RequestMapping("/ubi")
public class UserBasicInfoController {


    @Autowired
    UserBaseInfoMapper ubiMapper;


    @RequestMapping("/view")
    public String watch(){
        System.out.println("123");
        return "123";
    }

    //@RequestMapping("/list")
    //public String list(){
    //    List<UserBaseInfo> userBaseInfos = ubiMapper.selectUBIList();
    //    System.out.println(userBaseInfos);
    //    System.out.println();
    //    return userBaseInfos.toString();
    //}
}
